package client;

import java.net.Socket;

import shared.HeartBitMessage;

public class ClientHeartBitSender extends Thread{

	private Socket socket;
	private boolean worked;

	public ClientHeartBitSender(Socket socket) {
		super();
		this.socket = socket;
	}
	
	@Override
	public void run() {
		while(worked){
			sendHeartBit(new HeartBitMessage("Client heart bit"));
		}
	}

	private void sendHeartBit(HeartBitMessage heartBitMessage) {
		// TODO adding sending block
		
	}
}
